package com.zhiyou100.mapper;

import com.zhiyou100.entity.Student;

import java.util.List;

/**
 * @author yang
 */
public interface StudentMapper {
    int deleteByPrimaryKey(Integer sid);

    int insert(Student record);

    int insertSelective(Student record);

    Student selectByPrimaryKey(Integer sid);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);

    List<Student> selectAll();

    Student selectBySidAndSpwd(Integer sid, String spwd);
}